﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MagicArenaFramework.Camera;
using BEPUphysics.Entities;

namespace MagicArenaFramework.GameObject.Components.ConcreteTypes
{
    class CameraFollow
    {
        public Entity Entity { get; private set; }
        public ICamera Camera { get { return _Camera; } }
        private SimpleCamera _Camera;

        public CameraFollow(ICamera camera, Entity entity)
        {
            
        }

        void MyUpdate(float dt)
        {
            _Camera.Update(Entity.WorldTransform);
        }
    }
}
